Skip to content

patch: v2.9.8 - #759

Merged
panjf2000 merged 4 commits into
masterfrom
dev
May 25, 2026
Merged

panjf2000 merged 4 commits into
masterfrom
dev

Conversation

@panjf2000

Copy link
Copy Markdown
Owner

No description provided.

panjf2000 and others added 4 commits March 15, 2026 22:02
…758)

* fix: downgrade golang.org/x/sync and golang.org/x/sys to versions compatible with Go 1.20

golang.org/x/sync v0.20.0 and golang.org/x/sys v0.45.0 require Go 1.25+,
but CI tests on Go 1.20. Revert these to v0.11.0 and v0.30.0 respectively.

* docs: add version constraint comments to go.mod for x/sync and x/sys

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings May 25, 2026 03:07
@github-actions github-actions Bot added docs patch Release patch version labels May 25, 2026

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR prepares the v2.9.8 patch by updating Go module dependencies, refreshing CI Go versions, and updating the sponsorship badge in the project READMEs.

Changes:

  • Bump Go dependencies (ants, testify, zap) and update go.sum accordingly.
  • Update GitHub Actions test matrices to run against Go 1.20 and 1.26, including a conditional -race disable for Windows on Go 1.26.
  • Replace the DigitalOcean sponsorship logo block with a referral badge link in both English and Chinese READMEs.

Reviewed changes

Copilot reviewed 7 out of 8 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
README.md Updates the sponsorship section to use a DigitalOcean referral badge.
README_ZH.md Same sponsorship badge update for the Chinese README.
go.mod Bumps key dependencies; adds comments pinning x/sync and x/sys due to Go version constraints.
go.sum Updates module sums to match the dependency bumps.
.github/workflows/test.yml Updates Go matrix to 1.26 and conditionally disables -race on Windows for Go 1.26.
.github/workflows/test_poll_opt.yml Updates Go matrix to 1.26 and makes setup-go use the matrix version.
.github/workflows/test_poll_opt_gc_opt.yml Same as above for the combined tags workflow.
.github/workflows/test_gc_opt.yml Updates Go matrix to 1.26 and removes Windows from the OS matrix.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines 90 to +94
- name: Run unit tests for packages
run: go test $(go list ./... | tail -n +2)

# NOTE: -race is conditionally disabled for Windows with Go 1.26 due to
# known instability of the Go race detector on this platform/version
@codecov

codecov Bot commented May 25, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 84.38%. Comparing base (0c3e6f8) to head (fd7ce4b).
⚠️ Report is 36 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #759      +/-   ##
==========================================
+ Coverage   84.30%   84.38%   +0.08%     
==========================================
  Files          22       22              
  Lines        2402     2402              
==========================================
+ Hits         2025     2027       +2     
+ Misses        257      255       -2     
  Partials      120      120              
Flag Coverage Δ
unittests 84.38% <ø> (+0.08%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@panjf2000
panjf2000 merged commit 38a2249 into master May 25, 2026
73 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs patch Release patch version

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants